cmake_minimum_required(VERSION 2.6) 

project(lpms_base)

include_directories(.)

link_directories("C:/Program Files (x86)/Microsoft SDKs/Windows/v6.0A/Lib")

set( sources
	main.cpp
	blue_com.cpp
)

set( headers
	blue_com.h
)

# SET(CMAKE_C_FLAGS_RELEASE "/MT")
# SET(CMAKE_BUILD_TYPE Release)

find_package(Qt4 REQUIRED)
include(${QT_USE_FILE})
qt4_wrap_cpp(moc_sources ${headers})
include_directories(${CMAKE_BINARY_DIR})
include_directories(${QT_INCLUDE_DIR})

add_executable(robo_jam ${sources} ${headers} ${moc_sources})
target_link_libraries(robo_jam ${QT_LIBRARIES})

target_link_libraries(robo_jam WinMM.lib)